<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新增技术培训')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-statisticsTrain-add">

			<div class="form-group">	
				<label class="col-sm-3 control-label">培训单位：</label>
				<div class="col-sm-8">
					<select name="unitid" class="form-control m-b">
						<option  th:value="1">大庆油田</option><option  th:value="2">辽河油田</option>
						<option  th:value="3">长庆油田</option><option  th:value="4">塔里木油田</option>
						<option  th:value="5">新疆油田</option><option  th:value="6">西南油气田</option>
						<option  th:value="7">吉林油田</option><option  th:value="8">大港油田</option>
						<option  th:value="9">青海油田</option><option  th:value="10">华北油田</option>
						<option  th:value="11">吐哈油田</option><option  th:value="12">冀东油田</option>
						<option  th:value="13">玉门油田</option><option  th:value="14">浙江油田</option>
						<option  th:value="15">煤层气</option><option  th:value="16">南方公司</option>
						<option  th:value="17">勘探开发院</option><option th:value="18">勘探院西北分院</option>
						<option  th:value="19">杭州地质研究院</option>
					</select>
				</div>
			</div>

			<div class="form-group">	
				<label class="col-sm-3 control-label">软件版本：</label>
				<div class="col-sm-8">
					<input id="version" name="version" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">培训时间：</label>
				<div class="col-sm-8">
					<input type="text" class="time-input" id="trainstarttime" placeholder="开始时间" name="trainstarttime"/>
					<span>-</span>
					<input type="text" class="time-input" id="trainendtime" placeholder="结束时间" name="trainendtime"/>
				</div>
			</div>

			<div class="form-group">	
				<label class="col-sm-3 control-label">培训人数：</label>
				<div class="col-sm-8">
					<input id="realcount" name="realcount" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">讲课天数：</label>
				<div class="col-sm-8">
					<input id="daycount" name="daycount" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">培训期次：</label>
				<div class="col-sm-8">
					<input id="period" name="period" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">讲师人次：</label>
				<div class="col-sm-8">
					<input id="teachercount" name="teachercount" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">培训讲师：</label>
				<div class="col-sm-8">
					<input id="teacher" name="teacher" class="form-control" type="text">
				</div>
			</div>

			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "statistics/statisticsTrain"
		$("#form-statisticsTrain-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-statisticsTrain-add').serialize());
	        }
	    }
	</script>
</body>
</html>
